gtk_css_provider_get_named: don't leak subpath (#636777)
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 8 Dec 2010 14:13:21 +0000 (15:13 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 9 Dec 2010 02:13:03 +0000 (21:13 -0500)
gtk/gtkcssprovider.c

index 5faa07666c9dd64832885724229ca2d5931bf557..0e1f8af9140f98d2f378974656ec8fcf1ed2af50 100644 (file)
@@ -3856,6 +3856,8 @@ gtk_css_provider_get_named (const gchar *name,
             }
         }
 
+      g_free (subpath);
+
       if (path)
         {
           GError *error = NULL;